# _*_ coding:utf-8 _*_
#!/usr/etc/env python
def leapYear():
    year = int(raw_input('Enter a year > '))
    if (year % 4 == 0 and year % 100 !=0) or (year % 4 == 0 and year % 100 == 0):
        return {'year':year,'isLeap':True}
    else:
        return {'year':year,'isLeap':False}

result = leapYear()
if( result['isLeap'] is not None ):
    print str(result['year']) + ' is a leap year'
else:
    print str(result['year']) + 'is not a leap year'
